
package com.ly.ocw.soap.memgra;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

import org.apache.commons.lang3.builder.ToStringBuilder;


/**
 * 会员等级信息查询
 * 
 * <p>DT_MemberGradeSearchResp complex type的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * 
 * <pre>
 * &lt;complexType name="DT_MemberGradeSearchResp"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="row" maxOccurs="unbounded" minOccurs="0"&gt;
 *           &lt;complexType&gt;
 *             &lt;complexContent&gt;
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *                 &lt;sequence&gt;
 *                   &lt;element name="EXTERNAL_CARD_NU" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *                   &lt;element name="LOY_MEM_ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *                   &lt;element name="TIER_LEVEL" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *                   &lt;element name="DATETO" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *                   &lt;element name="PRESENT_EXPERIENCE_POINTS" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *                   &lt;element name="RELEGATION_EXPERIENCE_POINTS_NEED" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *                   &lt;element name="PROMOTE_EXPERIENCE_POINTS_NEED" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *                   &lt;element name="RETURN_CODE" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *                   &lt;element name="ERROR_MSG" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *                 &lt;/sequence&gt;
 *               &lt;/restriction&gt;
 *             &lt;/complexContent&gt;
 *           &lt;/complexType&gt;
 *         &lt;/element&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DT_MemberGradeSearchResp", propOrder = {
    "row"
})
public class DTMemberGradeSearchResp {

    protected List<DTMemberGradeSearchResp.Row> row;

    /**
     * Gets the value of the row property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the row property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getRow().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link DTMemberGradeSearchResp.Row }
     * 
     * 
     */
    public List<DTMemberGradeSearchResp.Row> getRow() {
        if (row == null) {
            row = new ArrayList<DTMemberGradeSearchResp.Row>();
        }
        return this.row;
    }


    /**
     * <p>anonymous complex type的 Java 类。
     * 
     * <p>以下模式片段指定包含在此类中的预期内容。
     * 
     * <pre>
     * &lt;complexType&gt;
     *   &lt;complexContent&gt;
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
     *       &lt;sequence&gt;
     *         &lt;element name="EXTERNAL_CARD_NU" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
     *         &lt;element name="LOY_MEM_ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
     *         &lt;element name="TIER_LEVEL" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
     *         &lt;element name="DATETO" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
     *         &lt;element name="PRESENT_EXPERIENCE_POINTS" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
     *         &lt;element name="RELEGATION_EXPERIENCE_POINTS_NEED" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
     *         &lt;element name="PROMOTE_EXPERIENCE_POINTS_NEED" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
     *         &lt;element name="RETURN_CODE" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
     *         &lt;element name="ERROR_MSG" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
     *       &lt;/sequence&gt;
     *     &lt;/restriction&gt;
     *   &lt;/complexContent&gt;
     * &lt;/complexType&gt;
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "externalcardnu",
        "loymemid",
        "tierlevel",
        "dateto",
        "presentexperiencepoints",
        "relegationexperiencepointsneed",
        "promoteexperiencepointsneed",
        "returncode",
        "errormsg"
    })
    public static class Row {

        @XmlElement(name = "EXTERNAL_CARD_NU")
        protected String externalcardnu;
        @XmlElement(name = "LOY_MEM_ID")
        protected String loymemid;
        @XmlElement(name = "TIER_LEVEL")
        protected String tierlevel;
        @XmlElement(name = "DATETO")
        protected String dateto;
        @XmlElement(name = "PRESENT_EXPERIENCE_POINTS")
        protected String presentexperiencepoints;
        @XmlElement(name = "RELEGATION_EXPERIENCE_POINTS_NEED")
        protected String relegationexperiencepointsneed;
        @XmlElement(name = "PROMOTE_EXPERIENCE_POINTS_NEED")
        protected String promoteexperiencepointsneed;
        @XmlElement(name = "RETURN_CODE")
        protected String returncode;
        @XmlElement(name = "ERROR_MSG")
        protected String errormsg;

        /**
         * 获取externalcardnu属性的值。
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getEXTERNALCARDNU() {
            return externalcardnu;
        }

        /**
         * 设置externalcardnu属性的值。
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setEXTERNALCARDNU(String value) {
            this.externalcardnu = value;
        }

        /**
         * 获取loymemid属性的值。
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getLOYMEMID() {
            return loymemid;
        }

        /**
         * 设置loymemid属性的值。
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setLOYMEMID(String value) {
            this.loymemid = value;
        }

        /**
         * 获取tierlevel属性的值。
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getTIERLEVEL() {
            return tierlevel;
        }

        /**
         * 设置tierlevel属性的值。
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setTIERLEVEL(String value) {
            this.tierlevel = value;
        }

        /**
         * 获取dateto属性的值。
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getDATETO() {
            return dateto;
        }

        /**
         * 设置dateto属性的值。
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setDATETO(String value) {
            this.dateto = value;
        }

        /**
         * 获取presentexperiencepoints属性的值。
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getPRESENTEXPERIENCEPOINTS() {
            return presentexperiencepoints;
        }

        /**
         * 设置presentexperiencepoints属性的值。
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setPRESENTEXPERIENCEPOINTS(String value) {
            this.presentexperiencepoints = value;
        }

        /**
         * 获取relegationexperiencepointsneed属性的值。
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getRELEGATIONEXPERIENCEPOINTSNEED() {
            return relegationexperiencepointsneed;
        }

        /**
         * 设置relegationexperiencepointsneed属性的值。
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setRELEGATIONEXPERIENCEPOINTSNEED(String value) {
            this.relegationexperiencepointsneed = value;
        }

        /**
         * 获取promoteexperiencepointsneed属性的值。
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getPROMOTEEXPERIENCEPOINTSNEED() {
            return promoteexperiencepointsneed;
        }

        /**
         * 设置promoteexperiencepointsneed属性的值。
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setPROMOTEEXPERIENCEPOINTSNEED(String value) {
            this.promoteexperiencepointsneed = value;
        }

        /**
         * 获取returncode属性的值。
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getRETURNCODE() {
            return returncode;
        }

        /**
         * 设置returncode属性的值。
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setRETURNCODE(String value) {
            this.returncode = value;
        }

        /**
         * 获取errormsg属性的值。
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getERRORMSG() {
            return errormsg;
        }

        /**
         * 设置errormsg属性的值。
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setERRORMSG(String value) {
            this.errormsg = value;
        }
        
        @Override
    	public String toString() {
    		return ToStringBuilder.reflectionToString(this);
    	}

    }

}
